package com.ytjj.qmyx.mall.mapper;

import com.ytjj.qmyx.mall.model.ProductStatistics;
import com.ytjj.qmyx.mall.model.ProductStatisticsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ProductStatisticsMapper {
    long countByExample(ProductStatisticsExample example);

    int deleteByExample(ProductStatisticsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ProductStatistics record);

    int insertSelective(ProductStatistics record);

    List<ProductStatistics> selectByExample(ProductStatisticsExample example);

    ProductStatistics selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ProductStatistics record, @Param("example") ProductStatisticsExample example);

    int updateByExample(@Param("record") ProductStatistics record, @Param("example") ProductStatisticsExample example);

    int updateByPrimaryKeySelective(ProductStatistics record);

    int updateByPrimaryKey(ProductStatistics record);
}